package com.yycx.module.bus.provider.service;

import com.yycx.common.mybatis.model.ResultBody;
import com.yycx.module.bus.client.entity.BusSfinance;
import com.yycx.common.mybatis.base.service.IBaseService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 厂家对账表 接口
 *
 * @author flyme
 * @date 2021-02-19
 */
public interface BusSfinanceService extends IBaseService<BusSfinance> {
    /**
     * 初始化对账表
     *
     * @param sfinanceId
     */
    Map<String, Object> initData(Long sfinanceId);

    /**
     * 导出对账数据
     *
     * @param response
     * @param sfinanceId
     */
    void exportData(HttpServletResponse response, Long sfinanceId);

    ResultBody importData(MultipartFile file, Map params);

    BusSfinance getDateByMonth(BusSfinance finance, String financeMonth, Integer financeType);


}
